package com.ruoyi.system.domain.vo.repair;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.domain.db.basic.BasicMaterials;
import com.ruoyi.system.domain.dto.MaterialsQuantityDto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RepairAccendantVo {
    private Long repairId;
    private String reason;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Integer state;
    private String phone;
    private Long vehicleId;
    private String vehicleNumber;
    private String manufacturer;
    private String model;
    private BigDecimal capacity;
    private String status;
    private Long userId;
    private String userName;
    private List<MaterialsQuantityDto> materials; // 使用材料数量
}
